package com.sunleader.netboot.module.machine.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("machine")
public class Machine {
    @TableField("mac")
    @TableId
    private String mac;
    @TableField("name")
    private String name;
    @TableField("ip")
    private String ip;
    @TableField("router")
    private String router;
    @TableField("subnet")
    private String subnet;
    @TableField("rom")
    private String rom;
    @TableField("need_reload")
    private Boolean needReload;
    @TableField("status")
    private String status;
}
